See Also: is_connected, set_flags, set_socket_notify, socket_event_handler, socket_from_event, socket_read, socket_write
Returns a 0 if the socket is not connected, 1 if it is.
See Also: get_socket_event, set_flags, set_socket_notify, socket_event_handler, socket_from_event, socket_read, socket_write
Sets a sequence of flags to a specified socket. You must assign a socket flags after every procedure/function loop or it will not look for them and you could lose soemthing. Events that can be chosen are
See Also: get_socket_event, is_connected, set_socket_notify, socket_event_handler, socket_from_event, socket_read, socket_write
Works for both wxSocketServer and wxSocketClient. Specifies which socket events are to be sent to the event handler. The flags parameter may be combination of flags ORed together. The following flags can be used:
See Also: get_socket_event, is_connected, set_flags, socket_event_handler, socket_from_event, socket_read, socket_write
When calling set_event_handler() for a wxEVT_SOCKET event, for the 'this' parameter, you must pass a sequence consisting of the object to handle the events and the socket: code socket_event_handler( socket, form, socket_id ) set_event_handler( {form, socket}, -1, wxEVT_SOCKET, routine_id("socket_event")) endcode
See Also: get_socket_event, is_connected, set_flags, set_socket_notify, socket_from_event, socket_read, socket_write
Returns the pointer to the socket that sent the wxSocketEvent.
See Also: get_socket_event, is_connected, set_flags, set_socket_notify, socket_event_handler, socket_read, socket_write
Works for wxSocketServer, wxSocketClient, wxHTTP and wxFTP.
See Also: get_socket_event, is_connected, set_flags, set_socket_notify, socket_event_handler, socket_from_event, socket_write
Works for both wxSocketServer and wxSocketClient.
See Also: get_socket_event, is_connected, set_flags, set_socket_notify, socket_event_handler, socket_from_event, socket_read